import { Component, OnInit, Output, EventEmitter } from "@angular/core";

@Component({
    selector: 'searchBar-component',
    templateUrl: './search-bar.component.html'
})
export class SearchBarComponent implements OnInit {

    @Output('searchInput') searchInputObj = new EventEmitter<any>();


    constructor() { 
        // TODO
    }


    ngOnInit(): void { 
        // TODO
    }

    searchInput(event) {
        this.searchInputObj.emit(event);
    }
}
